﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="pie.ascx.cs" Inherits="Controls_pie" %>


<div>
    <asp:Chart ID="Chart1" runat="server" BorderSkin-SkinStyle="FrameTitle4" 
        BorderlineDashStyle="Solid" BackSecondaryColor="Cyan" Height="250px" 
        Palette="Pastel" ToolTip="label=#pencent" Width="250px" >
        <series>
            <asp:Series ChartType="Pie" Name="Series1" Legend="Legend1">
            </asp:Series>
        </series>
        <chartareas>
            <asp:ChartArea Name="ChartArea1">
            </asp:ChartArea>
        </chartareas>
        <Legends>
            <asp:Legend IsTextAutoFit="False" LegendItemOrder="ReversedSeriesOrder" 
                Name="Legend1">
            </asp:Legend>
        </Legends>
        <BorderSkin SkinStyle="FrameTitle4" />
    </asp:Chart>
    
    </div>
    <div style="margin-left:60px;margin-top:5px;"><asp:Button ID="Button1" 
            runat="server" Text="点击查看大图" width="100px" BorderStyle="None" 
            Font-Size="12" onclick="Button1_Click"/></div>